package com.csproj.basic.service.mapper;

import com.csproj.basic.domain.Enterprise;
import com.csproj.basic.service.dto.EnterpriseDTO;
import com.csproj.siiat.service.mapper.EntityMapper;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity Enterprise and its DTO EnterpriseDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface EnterpriseMapper extends EntityMapper<EnterpriseDTO, Enterprise> {

    

    

    default Enterprise fromId(String id) {
        if (id == null) {
            return null;
        }
        Enterprise enterprise = new Enterprise();
        enterprise.setId(id);
        return enterprise;
    }
}
